proc commands {nick handle chan otbn1 host} {
global botnick otbnversion
  set otbnversion "\0034Running X-Bot 2003 by Overtech Technologies\003"    
  putlog "!$nick ($host)! commands"
  putquick "NOTICE $nick :$otbnversion"
if {[matchattr $handle n]} {
  putquick "NOTICE $nick :\00312BOTNET ADMINISTRATOR\003: CORE"
  }   
if {[matchattr $handle m]} {
  putquick "NOTICE $nick :\00312BOTNET CO-ADMINISTRATOR\003: REHASH  RESTART  SNDMSG  SNDNOTICE  SERVERS"
  }        
if {[matchattr $handle o]} {
  putquick "NOTICE $nick :\00312BOTNET OPERATOR\003: ADDCHAN  BROADCAST  CHANSTATS  DISABLE  ENABLE  REMCHAN  SAVE"
  }
if {[matchattr $handle o|n $chan]} {
  putquick "NOTICE $nick :\00312CHANNEL ADMINISTRATOR\003: ACT  CYCLE  SAY"
  }  
if {[matchattr $handle o|m $chan]} {
  putquick "NOTICE $nick :\00312CHANNEL CO-ADMINISTRATOR\003: KILLMODES  MODE  USERADD  USERDEL  USERMOD"
  }
# Next one modified by |nsid3r to accomidate newly built-in onjoin command
if {[matchattr $handle o|o $chan]} {
  putquick "NOTICE $nick :\00312OP\003: BAN  DEOP  INVITE  KICK  ONJOIN  OP  TOPIC  UNBAN"
  }
if {[matchattr $handle o|o $chan]} {
  putquick "NOTICE $nick :\00312AVOICE\003: COMMENT  DEVOICE  SNDNOTE  VOICE"
  }
if {[matchattr $handle o|v $chan]} {                                 
  putquick "NOTICE $nick :\00312AVOICE\003: COMMENT  DEVOICE  SNDNOTE  VOICE"
  }  
  putquick "NOTICE $nick :\00312PUBLIC\003: ACCESS  ADMIN  AUTH  BANLIST  COMMANDS  CREDITS  DEAUTH  PASS  SEEN  USERLIST  VERSION"
  putquick "NOTICE $nick :-"
  putquick "NOTICE $nick :Uptime for this bot can be found at: \00312http://uptime.eggheads.org\003."
  putquick "NOTICE $nick :To get help on a command type \0034(/msg) $botnick help <command>\003"
  }









